<%-- 
    Document   : NuevoServicio
    Created on : 14/04/2010, 05:23:13 PM
    Author     : Fernando
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">

<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <meta http-equiv="expires" content="-1" >
        <title>Informes Medicos</title>
        <link rel="stylesheet" type="text/css" href="css/jmesa.css" id="paramCSS"/>
        <link href="css/styles.css" type="text/css" rel="stylesheet"/>
        <script type="text/javascript" src="/js/jquery.js"></script>
        <script type="text/javascript" src="/js/jmesa.js"></script>
        <link rel="stylesheet" type="text/css" href="iecss.css" />
    </head>

    <script type="text/javascript" src="${pageContext.request.contextPath}/js/jquery.js"></script>
    <script type="text/javascript" src="${pageContext.request.contextPath}/js/jmesa.js"></script>
    <script language="javascript">
        function f_open_window_max( aURL, aWinName ) {
            var wOpen;
            var sOptions;
            sOptions = 'status=yes,menubar=yes,scrollbars=yes,resizable=yes,toolbar=yes';
            sOptions = sOptions + ',width=' + (screen.availWidth - 10).toString();
            sOptions = sOptions + ',height=' + (screen.availHeight - 122).toString();
            sOptions = sOptions + ',screenX=0,screenY=0,left=0,top=0';
            wOpen = window.open( '', aWinName, sOptions );
            wOpen.location = aURL;
            wOpen.focus();
            wOpen.moveTo( 0, 0 );
            wOpen.resizeTo( screen.availWidth, screen.availHeight );
             return wOpen;
        }
        function f_open_window( aURL, aWinName ) {
            var wOpen;
            var sOptions;
            sOptions = 'status=yes,menubar=yes,scrollbars=yes,resizable=yes,toolbar=yes';
            sOptions = sOptions + ',width=400' + (screen.availWidth - 10).toString();
            sOptions = sOptions + ',height=' + (screen.availHeight - 122).toString();
            sOptions = sOptions + ',screenX=0,screenY=0,left=0,top=0';
            wOpen = window.open( '', aWinName, sOptions );
            wOpen.location = aURL;
            wOpen.focus();
            wOpen.moveTo( 0, 0 );
            wOpen.resizeTo(650, 400);
            return wOpen;
        }
        function muestra_oculta(id){
            if (document.getElementById){
                var el = document.getElementById(id);
                el.style.display = (el.style.display == 'none') ? 'block' : 'none';
            }
        }
        window.onload = function(){
            muestra_oculta('contenido_a_mostrar');
        }
    </script>

    <body bgcolor="#e1ebf4">

        <table class="tabladatos" width="800px" align="center" border="0" cellpadding="0" cellspacing="0">
            <tr>
                <td>
                    <table width="100%" border="0" cellpadding="0" cellspacing="0">
                        <tr style="height: 108px" valign="middle">
                            <td width="*" align="center"><img border="0" src="images/banner4.jpg"></td>
                        </tr>
                    </table>
                    <div align="center" color="#003366" style="font-weight:bold;font-size:18px;">Nuevo Servicio</div>
                    <form action="GrabarNuevoServicio" name="NuevoServicio">
              
                        <table width="100%" border="0" cellpadding="0" cellspacing="0">
                            <tr>
                                <td>
                                    <table>
                                        <tr>
                                            <td class="tdLabel">
                                                <label for="u_paciente" class="label">PACIENTE:
                                                </label>
                                            </td>
                                            <td
                                                <input type="text" name="u.paciente"
                                                       value="Paciente"
                                                       readonly="readonly" id="u_paciente" style="width:340px;"/>
                                            </td>
                                        </tr>
                                    </table>
                                </td>
                                <td>
                                    <table>
                                        <tr>
                                            <td class="tdLabel">
                                                <label for="u_examen" class="label">EXAMEN:
                                                </label>
                                            </td>
                                            <td
                                                <input type="text" name="u.examen"
                                                       value="Examen"
                                                       readonly="readonly" id="u_examen" style="width:340px;"/>
                                            </td>
                                        </tr>
                                    </table>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <table>
                                        <tr>
                                            <td>
                                                <input type="button" value="Agregar" style="border-width: 1px; background-color: gray"/>
                                            </td>
                                            <td>  - - </td>
                                            <td>
                                                <input type="submit" name="enviar" value="Grabar"style="border-width: 1px; background-color: gray"/>
                                            </td>
                                        </tr>
                                    </table>
                                </td>
                            </tr>

                        </table>
                        <input type="hidden" name="copersona" value="${copersona}"/>
                    </form>
                </td>
           </tr>
        </table>
    </body>
</html>